package com.rd.student.jiaji.class3.sunguowei.day28;




//public class Test {
//    public static void main(String[] args) {
//        Drink coffee=new NaTie();
//        System.out.println(coffee.getDesc());
////        System.out.println(coffee.getPrice());
//        System.out.println(coffee.cost());
//
//        System.out.println("-------------");
//        Decorator milk=new Milk(coffee);
//        System.out.println(milk.getDesc());
//        System.out.println(milk.cost());
//
//
//        System.out.println("-------------");
//        Drink coffee1=new MeiShi();
//        System.out.println(coffee1.getDesc());
//        System.out.println(coffee1.cost());
//
//        System.out.println("-------------");
//        Decorator order=new Sugar(coffee1);
//        System.out.println(order.getDesc());
//        System.out.println(order.cost());
//    }
//}
